package magzine

import (
	"github.com/astaxie/beego"
)

type MagzineController struct {
	beego.Controller
}

func (c *MagzineController) Get() {
	c.Data["cssfile"] = `<link rel="stylesheet" type="text/css" href="static/css/magzine/magzine.css" />`
	c.Data["jsfile"] = `
	<script type="text/javascript">
			$(function() {
				$('[data-toggle="tooltip"]').tooltip()
			})
		</script>
	`
	c.Layout = "layout.tpl"
	c.TplName = "magzine/magzine.tpl"
}
